<div class="secSearch">
	<input type="hidden" name="pcancel" id="pcancel" value="0" />
    <table cellpadding="0" cellspacing="0" border="0" width="100%">
        <tbody>
            <tr>        
                <td class="firstChild" width="20%">
                    <label for="stt">Tình trạng:</label>
                    <select name="stt" id="stt" onchange="this.form.submit();">
                   		{html_options options=$arrStatus selected=$intStatus}
                    </select>
                </td>
                <td width="20%">
                    <label for="typ">Loại:</label>
                    <select name="typ" id="typ" onchange="this.form.submit();">
                   		{html_options options=$arrType selected=$intType}
                    </select>
                </td>                
                <td width="20%">
                    <label for="pstartdate">Ngày đăng:</label>
                    <input type="text" name="startdate" id="pstartdate" value="{if isset($smarty.session.reppost)}{$smarty.session.reppost.startdate|escape}{/if}" class="half firstItem"/>
                    <input type="text" name="enddate" id="penddate" value="{if isset($smarty.session.reppost)}{$smarty.session.reppost.enddate|escape}{/if}" class="half"/>
                </td>
                <td valign="bottom">
                    <input type="submit" value="Tìm kiếm" class="btn"/>
                    {if isset($smarty.session.repcancel) && $smarty.session.repcancel == 1}                
                        <input type="button" value="Thôi tìm kiếm" class="btnCancel" onclick="javascript:cancelSearch(this.form);"/>
                    {/if}
                </td>
            </tr> 
        </tbody>
    </table>
</div>